﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataImport.aspx.cs" Inherits="PAS.DataImport" %>
<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI" TagPrefix="PaginationGrid" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>数据导入</title>
    <link href="CSS/Main.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
        .html
        {
            background-color: #F1F6FF;
        }
        .style1
        {
            width: 50%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="PageNav">
        数据导入
    </div>
        <div class="tabContents">
            <table id="tblBaseInfo" bordercolor="#b0cde2" width="100%" align="center" border="1"
                runat="server">
                <tr>
                    <td class="tdPageObjProMemo" style=" width:128px">
                        数据源文件：
                    </td>
                    <td colspan="2" class="tdPageObjProMemo">
                        <input id="fileSource" type="file" size="50" name="fileSource"
                            runat="server" contenteditable="false" />
                        <asp:Label ID="lblCheckSource" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tdPageObjProMemo">
                        <asp:Button ID="btnCheckData" class="btn_mouseout" onmouseover="this.className= 'btn_mouseover ' "
                            onmouseout="this.className= 'btn_mouseout ' " onmousedown="this.className= 'btn_mousedown '"
                            onmouseup="this.className= 'btn_mouseup '" runat="server" Text="校验数据" 
                            onclick="btnCheckData_Click" >
                        </asp:Button>
                        <asp:Button ID="btnImport" class="btn_mouseout" onmouseover="this.className= 'btn_mouseover ' "
                            onmouseout="this.className= 'btn_mouseout ' " onmousedown="this.className= 'btn_mousedown '"
                            onmouseup="this.className= 'btn_mouseup '" runat="server" Text="导入数据" CausesValidation="False"
                            Enabled="False" onclick="btnImport_Click" ></asp:Button>
                    </td>
                    <td class="tdPageObjProMemo">
                        <asp:RadioButtonList ID="rblSheetName" runat="server" TextAlign="Right" RepeatDirection="Horizontal">
                            <asp:ListItem Text="参与人信息" Value="0" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="比赛项目信息" Value="1" ></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td style="text-align: right;" class="tdPageObjProMemo">
                        <a href="DownloadFiles/系统数据导入文件.xls">下载系统数据导入文件</a>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblMessage" runat="server" ForeColor="#C00000" Style="margin-left: 10px"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <PaginationGrid:PaginationGrid ID="pgError" runat="server" AutoGenerateColumns="True"
                            InitPageSize="15" AutoSort="True"/>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
